package org.dut.book.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.dut.book.model.UserInfo;

@Mapper
public interface UserMapper {
    @Select("select * from user_info where user_name" +
            " = #{userName} and password = #{password}")
    UserInfo selectUserInfoByNameAndPassword(String userName, String password);
}
